# $OpenBSD: Makefile,v 1.8 2016/05/12 14:00:13 espie Exp $

COMMENT =	perl sieveshell-compatible ManageSieve client

GH_VER =	v0.87
V =		${GH_VER:S/v//}
PROJECT =	sieve-connect
DISTNAME =	${PROJECT}-${V}
CATEGORIES =	mail
PKG_ARCH =	*
REVISION =	0

MAINTAINER =	LEVAI Daniel <leva@ecentrum.hu>

HOMEPAGE =	http://github.com/philpennock/${PROJECT}
MASTER_SITES =	http://github.com/philpennock/${PROJECT}/releases/download/${GH_VER}/

EXTRACT_SUFX =	.tar.bz2

# BSD
PERMIT_PACKAGE_CDROM =	Yes

NO_TEST =	Yes
RUN_DEPENDS =	net/p5-Net-DNS \
		net/p5-IO-Socket-INET6 \
		security/p5-IO-Socket-SSL>=1.14 \
		security/p5-Authen-SASL

do-configure:
	@perl -pi -e 's,^PREFIX=.*,,' ${WRKSRC}/Makefile

.include <bsd.port.mk>
